package com.gaofei.orders.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author : gaofee
 * @date : 11:22 2021/5/29
 * @码云地址 : https://gitee.com/itgaofee
 */
@Component
@FeignClient(value = "account-service")
public interface AccountFeign {
    @RequestMapping("/accountTbl/reduce")
    public Boolean reduce(@RequestParam("uid") String uid, @RequestParam("orderMoney") Integer orderMoney);
}
